package com.yuwubao.uav.tool.mapper;

import com.yuwubao.framework.bean.PageData;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *
 */
@Mapper
public interface FocusNewsMapper {

    void deleteFocusNews(PageData pageData) throws Exception;
    void updateFocusNews(PageData pageData) throws Exception;
    void disableOrEnableFocusNews(PageData pageData) throws Exception;
    void addFocusNews(PageData pageData) throws Exception;
    List<PageData> listFocusNews(PageData pageData) throws Exception;
    int listFocusNewsCount(PageData pageData) throws Exception;

    void deleteFocusNewsType(PageData pageData) throws Exception;
    void updateFocusNewsType(PageData pageData) throws Exception;
    void disableOrEnableFocusNewsType(PageData pageData) throws Exception;
    void addFocusNewsType(PageData pageData) throws Exception;
    List<PageData> listFocusNewsType(PageData pageData) throws Exception;
    List<PageData> listFocusNewsTypeAll(PageData pageData) throws Exception;
    int listFocusNewsTypeCount(PageData pageData) throws Exception;


}
